def write_current_windows(ls):
    w = open("cache/currentwindows.txt", "w")
    w.write(str(ls))
    w.close()


def find_current_windows():
    r = open("cache/currentwindows.txt", "r")
    ls = eval(r.readlines()[0])
    r.close()
    return ls


def initfile():
    f = open("cache/currentwindows.txt", "w")
    f.write('["current_windows"]')
    f.close()


initfile()
find_current_windows()